/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lt.ntec.danblog.server.core.model.objectify;

import com.googlecode.objectify.Objectify;
import lt.ntec.danblog.server.core.UserNotFoundException;
import lt.ntec.danblog.server.core.model.User;
import lt.ntec.danblog.server.core.model.UserDAO;

/**
 *
 * @author Tadas
 */
class ObjectifyUserDAO extends ObjectifyBaseDAO<User> implements UserDAO {

    public ObjectifyUserDAO(Objectify ofy){
        super(ofy);
    }

    @Override
    public User getUserByEmail(String email) throws UserNotFoundException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Class<? extends User> getEntityClass() {
        return ObjectifyUser.class;
    }

}
